from PyQt4 import QtCore, QtGui



class SampleFilesModel(QtGui.QFileSystemModel):
    def __init__(self):
        super(QtGui.QFileSystemModel, self).__init__()
        
    
    
    

class BrowerWindow(QtGui.QTreeView):
    def __init__(self):
        super(QtGui.QTreeView, self).__init__()
        mode = SampleFilesModel()
        index = mode.setRootPath("V:\\Download\\")

        self.setModel(mode)
        self.setRootIndex(index)
        for i in range(1, mode.columnCount()):
            self.setColumnHidden(i, True)
        




if __name__ == '__main__':

    import sys

    app = QtGui.QApplication(sys.argv)
    browerwindow = BrowerWindow()
    browerwindow.show()
    sys.exit(app.exec_())
    
